• Support PF! Buy your school textbooks, materials and every day products Here!

Calculating the slope of the tangent.

  • Thread starter -Dragoon-
  • Start date
  • #1
309
7

Homework Statement


Determine the slope of the tangent at x = 0 for the function f(x) = [tex]\frac{cosx}{1-x}[/tex]?


Homework Equations


Product rule:
F'(x) = f'(x)g(x)+f(x)g'(x)
Chain rule:
f'(x) = nx^n-1·(x)'

The Attempt at a Solution


So first I rewrite the equation to get rid of the fraction:
f(x) = (cosx)(x-1)^-1
Then I start differentiating:
f'(x) = (cosx)'(x-1)^-1 + (cosx)(1-x)^-1'
f'(x) = (-sinx)(x-1)^-1 + (cosx)(-1)(1-x)^(-1-1)·(-1)
f'(x) = -sin/(1-x) + (cosx)/(1-x)^2
f'(x) = -sinx(1-x)+(cosx)/(1-x)^2
That is what I calculate as the derivative.

So when I substitute in 0:
f(0) = -sin0(1-0)+(cos0)/(1-0)^2 = 0/1 = 0. The problem is, my book says that the slope is 1, which would mean I should get 1/1, but how? Did I miscalculate during the differentiation? Unfortunately, I am not allowed to use quotient rule according to my teacher to solve these types of problems. Any help? Thanks in advance.
 

Answers and Replies

  • #2
SammyS
Staff Emeritus
Science Advisor
Homework Helper
Gold Member
11,302
998
cos(0) = 1
 
  • #3
828
2

Homework Statement


Determine the slope of the tangent at x = 0 for the function f(x) = [tex]\frac{cosx}{1-x}[/tex]?


Homework Equations


Product rule:
F'(x) = f'(x)g(x)+f(x)g'(x)
Chain rule:
f'(x) = nx^n-1·(x)'

The Attempt at a Solution


So first I rewrite the equation to get rid of the fraction:
f(x) = (cosx)(x-1)^-1
Then I start differentiating:
f'(x) = (cosx)'(x-1)^-1 + (cosx)(1-x)^-1'
f'(x) = (-sinx)(x-1)^-1 + (cosx)(-1)(1-x)^(-1-1)·(-1)
f'(x) = -sin/(1-x) + (cosx)/(1-x)^2
f'(x) = -sinx(1-x)+(cosx)/(1-x)^2
That is what I calculate as the derivative.

So when I substitute in 0:
f(0) = -sin0(1-0)+(cos0)/(1-0)^2 = 0/1 = 0. The problem is, my book says that the slope is 1, which would mean I should get 1/1, but how? Did I miscalculate during the differentiation? Unfortunately, I am not allowed to use quotient rule according to my teacher to solve these types of problems. Any help? Thanks in advance.
Hmmm, what is Sin(0) and what is Cos(0)?
 
  • #4
309
7
Ah, I totally forgot about that. Stupid me. :rofl:

Thanks for all the help, Sammy and robert. :biggrin:
 

Related Threads on Calculating the slope of the tangent.

  • Last Post
Replies
5
Views
4K
Replies
10
Views
4K
  • Last Post
Replies
15
Views
2K
  • Last Post
Replies
3
Views
8K
Replies
2
Views
5K
  • Last Post
Replies
2
Views
1K
  • Last Post
Replies
4
Views
2K
Replies
15
Views
2K
  • Last Post
Replies
9
Views
658
  • Last Post
Replies
12
Views
2K
Top