Questions on trigonometric and hyperbolic functions, as well as their inverses, in Mathematica.

learn more… | top users | synonyms

3
votes
3answers
444 views

How to extract phase angle from sinusoid

I'm doing some electric circuit calcualtions and I'm trying to get the phasor representation of some arbitrary function of Sin or Cos. Could be complex like: ...
3
votes
2answers
174 views

Mathematica not recognising closed forms as specific values

I have a Mathematica program that outputs a piecewise function, and some parts of the expression are not being recognised as specific numbers when using ...
3
votes
1answer
449 views

Mathematica takes too long to solve this

I have the following system of equations: ...
3
votes
0answers
80 views

Inconsistent results for symbolic trigonometric integral

I am trying to evaluate (on Mathematica v.9) the integral \begin{equation} \int_0^x [\sin (x) \sin (2 y)-\sin (2 x) \sin (y)]^t \,\mathrm{d}y, \end{equation} where $t$ is an even, positive integer. ...
3
votes
0answers
116 views

Why does Mathematica show 4095/4096 terms in TrigExpand?

Clear[x, n]; expr = Cos[x]^(n - 2) (1 - Cos[x]^2 + Sin[x]); r=TrigExpand[expr] Where do those 4095/4096 comes from? It is correct, but it seems very strange ...
2
votes
2answers
255 views

Highlighting a single Period of a Trig Plot

How do I highlight a single period of a trig function say by using color and/or thickness when the graph itself extends further than just a single period? Thanks...Gregory Lane
2
votes
3answers
575 views

Problem with simplifying Sinc function

$Assumptions = x ∈ Reals && y ∈ Reals && a ∈ Reals && b ∈ Reals; These work: ...
2
votes
1answer
51 views

TrigExpand-ing too far

Something simple: I'd like TrigExpand[Sin[3n-3]] to return Sin[3n]Cos[3]-Cos[3n]Sin[3] instead of ...
2
votes
2answers
555 views

Is it possible to simplify a trigonometric expression only in terms of $\cos (u)$ OR $\sin (u)$?

I want to expand the following expression into powers of $\cos(u)$ only: a1 + a2 Cos[2 u] + a3 Cos[4 u] + a4 Cos[6 u] The answer that I want (and which I found ...
2
votes
3answers
728 views

DSolve will not apply assumption m ∈ Integers

I am trying to solve a linear second order ODE using DSolve which involves an arbitrary integer m. ...
2
votes
2answers
174 views

Trigonometry expansion of a product

The following command does what I want: ...
2
votes
2answers
174 views

Showing steps for TrigExpand

If I enter a double equal sign and the following in Mathematica 10: == integrate 1/(1+x^4) Then wolfram alpha allows me to select a Step-by-step solution, which ...
2
votes
1answer
624 views

Solve[Tan[theta] == (b*Sin[t])/(a*Cos[t]), theta] breaks when “Reals” is added?

Mathematica solves this equation fine: Solve[ Tan[theta] == (b*Sin[t])/(a*Cos[t]), theta] // InputForm ...
2
votes
1answer
397 views

Problem with Sinc[x] function and rounding

I seem to be having some trouble with the Sinc[x] function, and I think it's due to rounding, but I'm not sure. The code is below, with relevant constants: ...
2
votes
1answer
77 views

Simplify trigonometric expression

Mathematica correctly simplifies the following expression: ...
2
votes
1answer
906 views

Mathematica's ArcTan function [duplicate]

I'm trying to calculate the angle made by a vector from two vector components but am having some trouble. The x-component has a magnitude of -2.7388321862151737*^10 and the y-component has a magnitude ...
2
votes
2answers
524 views

How do I get the solutions of a cubic equation in trigonometric form?

I know $x^3-3 x+1=0$ has three roots that can be expressed in trigonometric form: $\{2\sin(10^\circ),\,-2\cos(20^\circ),\,2\cos(40^\circ)\}$. How can I get this result with Mathematica?
2
votes
1answer
327 views
2
votes
1answer
182 views

Discard functions with wrong symmetry?

I have functions of x, where x is the polar angle of spherical coordinates, i.e. ...
2
votes
1answer
96 views

Two different results for same symbolic integral

I am trying to compute the following integral $\int_0^\infty dk \frac{e^{i k a}}{k^2}[\sin(kb)-kb\cos(kb)]$ When computing it as-is, i.e, with the code ...
2
votes
3answers
98 views

Adding more specific assumptions to Integrate

Let's say I would like to find a symbolic form for the integral $$\int_0^{2\pi}\sin^nx\,\mathrm{d}x$$with the added condition that $n$ is not only an integer, but an even one at that. Can this be ...
2
votes
2answers
341 views

How to change the form $A\cos \omega t + B\sin \omega t$ into the form $\sqrt{A^2+B^2}\cos(\omega t-\phi)$ [duplicate]

I'm preparing notes for teaching next week's class in differential equations. My hand calculation solution of $$y''+192y=0, y(0)=1/6, y'(0)=-1$$ is $$y=\frac16\cos 8\sqrt3 t-\frac{\sqrt3}{24}\sin ...
2
votes
0answers
86 views

TrigExpand Idiosyncracies

TrigExpand[Sin[x]^2 Log[y]] returns sin^2(x) log(y), as one would expect. However, ...
1
vote
4answers
3k views

Solve trigonometric equation

I'm looking for a solution (graphic, numeric or analytic) for a function of the form: $$a^2\tanh(x)=\tan(ax),\quad a ≥ 1,\ x > 0$$ preferably using Mathematica. Any advice?
1
vote
3answers
243 views

Solve simple trig equation

I would like to solve this equation: $$-x\sin(x)=\cos(x)$$ But Solve in Mathematica doesn't work: This system cannot be solved with the methods available to ...
1
vote
2answers
155 views

how can tangent half angle substitution be done in Mathematica?

Is it possible to replace sine and cosine in terms of tangent half-angles and again the tangent half-angles by a variable say t?
1
vote
3answers
103 views

Coefficient and Addition Formula

If I type: Coefficient[Cos[x + b], Cos[x]] I get zero. But I would like Mathematica to apply: $$\cos(x+b)=\cos x\cos b-\sin x\sin b$$ Therefore the ...
1
vote
2answers
151 views

Find the explicit solution of the integral

I want to calculate the integral: assuming that we are familiar with the relation: The answer should be: The code that I've used is the following: ...
1
vote
2answers
96 views

Abs[Sin[4a]] not equal to 2Sin[2a]Abs[Cos[2a]] for a in [0,\pi/2]

I have a long expression which is not fully simplified because Abs[Sin[4a]] is considered different from 2Sin[2a]Abs[Cos[2a]] ...
1
vote
1answer
298 views

Get Cos[2 x] in “Solve”

My goal is to get an analytical solution of x ( $\lambda$ in the problem), when $\epsilon$ (f[x] in the problem) is maximum (use inverse form). I found that if I can use trigonometric identity ...
1
vote
1answer
830 views

How can I get Mathematica to write Log instead of ArcTan?

ArcTan really bothers me, so is there a way to make Mathematica write Logarithm instead of ...
1
vote
1answer
49 views

Solving a simple trigonometric equation in a range

I would like to solve a simple trigonometric equation, for example $\sin\theta=\frac{1}{2},$ but Solve gives the single solution obtained by using the inverse ...
1
vote
1answer
48 views

3D-plots of Complex-parametered trig-functions returns empty plot

I first tried to plot a parametric equation as follows; ...
1
vote
1answer
108 views

How to solve trigonometric equations

I have the following problem: I need to solve the equation: $$\frac{\cos\left(x\right)}{x^6} - \frac{6 \sin\left(x\right)}{x^7}==0$$ and I don't really remember how to do it symbolically. Some help ...
1
vote
2answers
85 views

Convert imaginary exponentials to goniometric expressions?

Can I force Mathematica to re-express something like $$\left\{\frac{1}{2}i\left(\frac{1}{16} e^{-2 i (\alpha (1)+4 \alpha (2))} \left(-1+e^{8 i \alpha (2)}\right) \text{d$\alpha $}(1) \left(2 \left(2 ...
1
vote
1answer
78 views

How to reduce trigonometric expressions under special conditions

For the following problems I used "FullSimplify" and "TrigReduce" but I manage to reduce more by hand. ...
1
vote
1answer
243 views

Fitting data using a series of Sin and Cos

I have the following data representing the normal displacement caused by a normal load applied at the middle cross section of a cylinder: I've made the data available here. I am trying to fit ...
1
vote
1answer
452 views

How can I factor my trigonometric equation?

The equation $$3\sin^2 x - 3\cos x -6\sin x + 2\sin 2x + 3=0$$ has a solution $x = 0$. That means it has a factor of $\cos x - 1$. I tried to write the given equation has the form $$(\cos x - ...
1
vote
1answer
135 views

Non solutions returned by NSolve. And why does it return both phi and Cos[phi]?

Similarly to this thread NSolve gives additional solutions that don't satisfy the equations! NSolve returns "spurious" solutions, even increasing the working precision ...
1
vote
1answer
48 views

find the inverse of a hyperbolic function

Hi everyone I am new in Mathematica and I am trying to find the inverse of a function which contains hyperbolic tangents and I hope someone can help me. The function is y=(a)tanh(d(x-g))+ ...
1
vote
1answer
105 views

Inverse Laplace transform only returning exponentials

The inverse Laplace transform is only returning exponentials. I know it is from the definition $$ \frac{1}{2\pi i}\int_{\gamma - i\infty}^{\gamma + i\infty}F(s)e^{st}ds = \sum\text{Res} $$ However, I ...
1
vote
1answer
755 views

Conversion of Sine to Cosine

I'm solving equations with many Cosines and Sines. And I want to convert all the Sines to Cosines using trigonometric formulas such as cos(x)=sin(x+pi/2). How can I do this?
1
vote
1answer
230 views

Is there an inverse function for F[x] = {Cos[x], Sin[x]} in Mathematica?

Mathematica has functions ArcCos, ArcSin, and ArcTan, but none of these does what I need, ...
1
vote
1answer
96 views

How to apply a trigonometric identity to a formula

The product of cosines is given by (Wikipedia): $ \prod_{k=1}^{n} \cos{\theta_k} = \frac{1}{2^n}\sum_{e\in S} \cos(e_1\theta_1+\ldots+e_n\theta_n) $ where $S={1,-1}^n$. How can I apply this to a ...
1
vote
1answer
528 views

Prevent FullSimplify from converting trigonometric expressions to exponential

There's an option for FullSimplify, which is Trig, and with it I could prevent a trigonometric identities from being used. I'm ...
1
vote
0answers
31 views

Not reducing Trig Functions to zero [duplicate]

How do I tell Mathematica to reduce trig functions to zero when their arguments are integer multiples of pi or 2pi? I have this: ...
1
vote
0answers
37 views

Write trigs in terms of Cosine only

I have a long expression having terms that go in squares like Sin[x]^2 and Sin[x/2]^2 and so on... I would like to rewrite my ...
1
vote
0answers
45 views

Tangent of 2 times arc cosine of -3/4 [closed]

Tan[ArcCos[-3/4] Returns the exact answer: -(Sqrt[7]/3) But: Tan[2 ArcCos[-3/4]] Does not return an exact answer. Any way ...