How Do You Find the Derivative of the Function f(x) = pi*x + 1/(cos^2(Pi*x))?

  • Thread starter Thread starter PrudensOptimus
  • Start date Start date
  • Tags Tags
    Derivatives
AI Thread Summary
The derivative of the function f(x) = pi*x + 1/(cos^2(Pi*x)) is calculated as f'(x) = pi + (2 * pi * sin(pi * x)) / cos^3(pi * x). The value of the derivative at x = 1/4 is approximately 15.708. For the second function f(x) = (((1/x^2) - 2)/(1/x^2))^2, the correct derivative is f'(x) = -8x + 16x^3, with f'(-1) equaling -8. The discussions highlight the importance of correctly rewriting functions before differentiation for easier calculations.
PrudensOptimus
Messages
641
Reaction score
0
Find the derivative for the f(x).
f(x) = pi*x + 1/(cos^2(Pi*x))
And find f'(1/4)

Here's what i got.
f'(x) = pi * d/dx (x) + d/dx (cos^2 pi*x)-1
= pi + [ (- (d/dx cos^2 (pi*x))/(cos^4(pi*x)) ]
= pi + [ (- (d/dx cos(pi*x) * (2 * cos(pi * x))/(cos^4(pi*x)) ]
= pi + [ (pi * sin x * 2cos(pi * x)) / ... ]
= pi + [ (2 * pi * sin x) / cos^3 (pi * x) ]

Thus f'(1/4) = 7.5251
 
Mathematics news on Phys.org
#2 question:

Find f'(x) and f'(-1).

f(x) = (((1/x^2) - 2)/(1/x^2))2


f'(x) = d/dx ((1/x^2) - 2)/(1/x^2) * (2 * ((1/x^2) - 2)/(1/x^2))
= [2((1/x^2) - 2)/(1/x^2)] * [((1/x^2)(-2/x^3) - ((1/x^2)-2)(-2/x^3))/((1/x^2)^2)]
= ... * [ -4/x^7 ]
= -8(1 - 2x^2)/x^7

Thus, f'(-1) = -8.

Please correct my mistakes. Thanks.
 
Originally posted by PrudensOptimus
Find the derivative for the f(x).
f(x) = pi*x + 1/(cos^2(Pi*x))
And find f'(1/4)
.
.
.
= pi + [ (2 * pi * sin x) / cos^3 (pi * x) ]

Thus f'(1/4) = 7.5251

I don't have a calculator handy, but your derivative is correct.

Find f'(x) and f'(-1).

f(x) = (((1/x^2) - 2)/(1/x^2))2
.
.
.
= -8(1 - 2x^2)/x^7

Thus, f'(-1) = -8.

For the derivative, I get

f'(x)=-8x+16x3

I rewrote the function as follows:

f(x)=(1/x2-2)2x4

To get the last factor, I noted that 1/(1/x2) is simply x2. Squaring that gives x4.

edit: It would be best to expand the function before differentiating, as follows:

f(x)=(1/x4-4/x2+4)x4

Now distribute the x4

f(x)=(1-4x2+4x4)

Doesn't look as nasty now, does it? :smile:
 
Last edited:
You sure you got your #2 derivative right?

It took me two times to re-derive it and everytime I get the same answer.
 
Originally posted by PrudensOptimus
Here's what i got.
f'(x) = pi * d/dx (x) + d/dx (cos^2 pi*x)-1
= pi + [ (- (d/dx cos^2 (pi*x))/(cos^4(pi*x)) ]
= pi + [ (- (d/dx cos(pi*x) * (2 * cos(pi * x))/(cos^4(pi*x)) ]
= pi + [ (pi * sin x * 2cos(pi * x)) / ... ]
= pi + [ (2 * pi * sin x) / cos^3 (pi * x) ]

Thus f'(1/4) = 7.5251

Should be this on the fourth line:
= π + π sin(π x) 2cos(π x)/cos4(π x)
i.e. Missed a π inside the sin(x).

And the final answer:
f'(x) = π + 2π sec2(π x)tan(πx)
f'(1/4) ≈ 15.708

For your second question, you surprisingly did get the correct value for f'(-1), but the function you found is in general wrong:
f(x) = [(1/x2-2) / (1/x2)]2
f(x) = [(1/x2-2) *x2]2
f(x) = (1/x2-2)2*x22
f(x) = (1/x4-4/x2+4)x4
f(x) = 1-4x2+4x4
(as Tom derived)

From this it far easier to find f'(x):
f'(x)= -8x+16x3
f'(x) = 8x(2x2-1)
f'(-1) = -8
This is similar to be not the same as the function you derived.
 
Suppose ,instead of the usual x,y coordinate system with an I basis vector along the x -axis and a corresponding j basis vector along the y-axis we instead have a different pair of basis vectors ,call them e and f along their respective axes. I have seen that this is an important subject in maths My question is what physical applications does such a model apply to? I am asking here because I have devoted quite a lot of time in the past to understanding convectors and the dual...
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...

Similar threads

Back
Top