FST First Semester

180 days ago by FST

First Semester

  • Functions

    • Definition of a function

      • Domain
      • Range
      • Composition
      • Inverse
    • Types of Functions

      • Polynomial
        • Degree
        • Leading coefficient
        • Degree of polynomial using constant difference
      • Quadratic Functions
        • Minimum and maximum
        • Roots
        • Word Problems
      • Exponential Functions
        • Graph
        • Domain
        • Range
      • Square Root
        • Domain
        • Range
        • Composition
      • Cubic functions
      • Even/odd functions
      • Ceiling/floor function
        • Evaluate
        • Word problems
    • Transformations

      • Scale factors of points
      • Translation of points
      • Translations of functions
    • Sequence and series

      • Convergence and divergence
      • Limit
      • Recursive
      • Summation notations
      • Arithmetic series
      • Sum of infinite geometric series
 
       

List comprehension is a very useful way to express mathematical ideas. It is a way of creating lists from other lists.

It has the structure [f(x) for x in [some list]] where f(x) can be a previously defined function or just some general expression:

[2^x for x in [0..10]] 
       
f(x) = x^2 + 2*x - 5 [f(x) for x in [0..10]] 
       
domain = [-10..10] [f(x) for x in domain] 
       
[(x,f(x)) for x in domain] 
       
points([(x,f(x)) for x in domain]) 
       

Here's an idea for illustrating inverses:

F = [(x,f(x)) for x in domain] F 
       
[(y,x) for (x,y) in F] 
       
points([(y,x) for (x,y) in F]) 
       
f(x) = 2*x + 3 f 
       
var('x y') solve(x == 2*y+3, y) 
       
g(x) = 1/2*x - 3/2 g 
       
f(g(x)) 
       
g(f(x)) 
       
[f(x) for x in [0..10]] 
       
[g(x) for x in _] 
       

Here is an example of some text.

Wow, I've learned so much about functions!

Functions in the computational world are even more fun than functions in our typical schoolish environment.

 
       
 
       
    • Extra topics we've covered:

      • Factorials
      • Permutations
      • Combinations
      • Binomial Theorem
      • Binomial Probability
 
       

Answer the following with

  • A - I know it's true.
  • B - I believe it's true.
  • C - I really don't know.
  • D - I believe it's false.
  • E - I know it's false.
 
  1. \sum_{x=1}^{n}x = \frac{n(n+1)}{2}
  2. \sum_{i=1}^{\infty}\frac{1}{2^i} = 1
  3. (p + q)^3 = \sum _{r=0}^{3} (_{3}C_{r})(p^{3-r})(q^{r})
  4. (p + q)^n = \sum _{r=0}^{n} (_{n}C_{r})(p^{n-r})(q^{r})
  5. The third term in the expansion of (p + q)^n is _{n}C_{2}p^{n-2}q^{2}.
  6. \sum_{r=0} ^{n} (_{n} C _{r}) = 1
  7. If you toss 10 coins into the air, the probability that 5 of them will land heads and 5 will land tails is 50\%.
  8. If you guess on 10 questions on a True/False test, the probability that you will guess 5 right and 5 wrong is 50\%.
  9. If you guess on 10 questions on a Multiple Choice test with 4 choices per question, the probability that you will guess all of them wrong is about 6\%.
  10. If you guess on 10 questions on a Multiple Choice test with 4 choices per question, the probability that you will guess 5 right and 5 wrong is about 6\%.
  11. If you toss a die 10 times, the probability that you will get 7 fours is 35%.
  12. \sum_{k=1}^{\infty} \frac{1}{3^k} = \frac{1}{2}
  13. \sum_{k=1}^{\infty} \frac{1}{n^k} = \frac{1}{n-1}
  14. (\sum_{k=1}^{n-1} a^{n-k}b^{k})(a - b) = a^n - b^n