Recent content by pasmith
-
P
Undergrad Finding the minimum distance between two curves
One can always resort to the Newton-Raphson method to solve ##\mathbf{f}(\mathbf{x}) = \nabla L = 0## by iteration, where each step requires solving the linear system $$ J(\mathbf{x}_n)\mathbf{u} = -\mathbf{f}(\mathbf{x}_n)$$ for ##\mathbf{u} = \mathbf{x}_{n+1} - \mathbf{x}_n## where $$J =... -
P
Undergrad Finding the minimum distance between two curves
If $$L = (y_1(x_1) - y_2(x_2))^2 + (x_1 - x_2)^2$$ then the partial derivatives are $$\begin{split} \frac{\partial L}{\partial x_1} &= 2(y_1 - y_2)y_1'(x_1) + 2 (x_1 - x_2) = 0 \\ \frac{\partial L}{\partial x_2} &= -2(y_1 - y_2)y_2'(x_2) - 2 (x_1 - x_2) = 0.\end{split}$$ Adding these gives $$... -
P
Solve the quadratic equation involving sum and product
This question seems poorly designed, in that part (i) has absolutely nothing to do with part (ii).- pasmith
- Post #6
- Forum: Precalculus Mathematics Homework Help
-
P
Undergrad 2nd order ODE's, variation of parameters and the notorious constraint
Thinking about it more closely, we want ##c_1y_1 + c_2y_2## to be a particular solution. But we're happy if it's only determined up to a complemenary function, because we were going to add one anyway. Two choices of ##(c_1 ,c_2)## cause ##c_1y_1 + c_2y_2## to differ by a complementary function...- pasmith
- Post #5
- Forum: Differential Equations
-
P
Undergrad 2nd order ODE's, variation of parameters and the notorious constraint
I think you have an error in the algebra. Substituting the ansatz and condition into the ODE, we should find $$\begin{split} p(c_1'y_1' + c_2'y_2') &= f - (ph)' \\ c_1'y_1 + c_2'y_2 &= h \end{split}$$ hence leading to $$\begin{split} c_1' &= -\frac{(f - (ph)')y_2}{pW} + \frac{hy_2'}W =...- pasmith
- Post #3
- Forum: Differential Equations
-
P
Polar integral
Any CAS which knows that for ##a \in \mathbb{R}##, ##(a^2)^{1/2} = |a|## should be able to get it right.- pasmith
- Post #8
- Forum: Calculus and Beyond Homework Help
-
P
Polar integral
Based on the sketch, it seems that ##\theta## is the angle of cylindrical polar coordinates, not spherical polar coordinates. I agree that the base of the cylinder is completely described by ##-\pi/2 \leq \theta \leq \pi/2##. The factor of 2 comes not from rotational symmetry about the origin...- pasmith
- Post #5
- Forum: Calculus and Beyond Homework Help
-
P
Undergrad Proving that convexity implies second order derivative being positive
It's a bit confusing to take ##b < a##; usually we have ##a < b##. My approach would be to define $$ g : [0,1]\to\mathbb{R} : x \mapsto f(b) + x(f(a) - f(b)) - f(b+ x(a - b)) \geq 0.$$ Now ##g(0) = g(1) = 0## and the constraint on the sign of ##g## allows you to say something about the signs of... -
P
Graduate How to Find Critical Points of function f(x,y,z)
A Hessian matrix must be symmetric; this matrix is not. This is a consequence of the problem I noted in my earlier post: the vector field specified by the OP is not the gradient of a scalar function. -
P
Does this series converge uniformly?
It may help to note that $$\frac{n^2}{n + \frac15} = n - \frac{1}{5 + \frac 1n}.$$- pasmith
- Post #6
- Forum: Calculus and Beyond Homework Help
-
P
Complex Numbers (Laurent Series)
Yes. Expanding ##(z - a)^{-k}## in binomial series can be done in two ways; one converges for ##|z| < |a|## and the other for ##|z| > |a|##.- pasmith
- Post #8
- Forum: Calculus and Beyond Homework Help
-
P
Undergrad Non-orthogonal bases
A lot o numerical analysis involves dealing with spaces of polynomials of degree at most $$N$$ on $$[-1,1]$$. There are various families of polynomials which can be taken as basis functions, and these will be orthogonal with respect to a particular inner product. Quite often, one wishes to...- pasmith
- Post #12
- Forum: Linear and Abstract Algebra
-
P
Family of lines that are at a distance of 5 from the origin
The equation of a line in ##\mathbb{R}^2## can be written as $$\mathbf{n} \cdot (\mathbf{x} - \mathbf{x}_0) = 0$$ where ##\mathbf{x}_0## is a point on the line and ##\mathbf{n}## is a vector normal to the line. Here we have ##\mathbf{n} = (\cos \omega, \sin \omega)## and ##\mathbf{x}_0 = (5\cos...- pasmith
- Post #6
- Forum: Precalculus Mathematics Homework Help
-
P
Modeling a graph that shows age in relation to depth of an ice sample
You can use linear interpolation between the data points. Between z_i and z_{i+1} that gives you \int_{z_i}^z \frac{1}{\lambda(z)}\,dz = \int_{z_i}^z \frac{1}{A_i + B_iz}\,dz which you can do analytically.- pasmith
- Post #2
- Forum: Advanced Physics Homework Help
-
P
Undergrad Can one find a matrix that's 'unique' to a collection of eigenvectors?
Yes, where D is a Jordan normal form, ie. the expression of the map with respect to a basis of (generalized) eigenvectors \{v_1, \dots, v_n\}. Conjugation by P then gives the expression of the map with respect to the standard basis.- pasmith
- Post #16
- Forum: Linear and Abstract Algebra