Recently, I was trying to graph the function $\ln(\tan(x^2))$ without derivatives or any calculator whatsoever. To get the answer, I used the graphing software Desmos, and was playing around when I saw that the graphs of $\ln(\tan(x^2))$ and $2\ln(\tan(x))$ are not the same. This goes against what I learned in high school, of the power rule property of $\ln$ and $\log$. Maybe it's a stupid question, I feel it is, but I can't see why and it is gnawing at me. Please explain. This is my first post, sorry if it's not properly formatted.
2026-04-07 12:34:37.1775565277
Why isn't the graph of $\ln(\tan(x^2))$ same as that of $2\ln(\tan(x))$, when they should be according to the power rule?
397 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
2
Note that $\tan(x^2) \neq (\tan x)^2$, and so $$\ln((\tan x)^2) =2\ln(\tan x)$$ but $$\ln(\tan (x^2)) \neq 2\ln(\tan x)$$
Edit: As noted in the other answer, you have to check the domain. Here's what I got when I tried Desmos: (they overlap when $x\in (0,\pi/2)$ mod $\pi$)