# Questions tagged [maximum]

Questions on finding the largest value of a set, extreme values of an expression, or on Mathematica functionality for maxima testing.

89 questions
Filter by
Sorted by
Tagged with
2k views

### Moving maximum function?

How can I construct a moving maximum function? For example, if I have a list of 12 values: { 5, 6, 9, 3, 2, 6, 7, 8, 1, 1, 4, 7 } and I want to maximize over 3 ...
151 views

I'm looking at the results of the 2015 UK general election ...
330 views

### Max of imported numerical data will not work

I loaded a list with 400,000 values from a file. The list was loaded correctly as I can get it's length (by Length[]) and I can also plot it. Why can't I get the Max or Min of this list though? When ...
400 views

### Get envelope of a set of functions?

I'm new with mathematica and I'm trying to solve a problem. I have a set of functions in the same variable. Let's say the domain is [0,2]. I would like to get an ordered list of the functions ...
162 views

### Optimising the Selection of MaxValue in Association

Suppose I have the following Association: ...
322 views

### List of critical points

In TI-Nspire CX CAS, writing: exp▶list(fMax(sin(x),x,0,10),x) I get: {((π)/(2)),((5*π)/(2))} while in Wolfram Mathematica, writing: ...
186 views

### How to compare lists in tuples

I have one problem write a function to maximize the positive number of tuples of a given list which satisfy the condition that there exists no number (except zero) two or more times in one tuples. ...
384 views

### How can I get exact maximal value of this expression?

I am trying to find the exact maximum value of the expression $$E= \sqrt{5 a^2+a (4 b-2 c)+2b^2+4 b c+5 c^2}+\sqrt{2a^2+a (2 b+2 c)+2 b^2-2 bc+2 c^2}+\sqrt{26 a^2+a (10c-2 b)+26 b^2+10 b c+2 c^2} ,$$ ...
1k views

### Finding maximum value of a discrete function

I have the following function. I want to graph its discrete plot and find the points where it takes on the highest value: ...
225 views

303 views

### Finding the optimal teams ranking based on the table of match results

My original question was this: So my task is to score all the possible rankings of the 14 SEC football teams and find the best one, using who won in head-to-head games as the sole criterion (so ...
218 views

### Automated searching for maximal 2D point configurations

I have some black-box function that takes lists of 2D points, and I would like to find some practical methods of searching for collections of points that maximize it. Motivation I've come across ...
1k views

### How do I find the position of the maximum value in each column of a table?

Given a table of values, I know how to find find maximum values, but how do I find the position of the maximum value in each column. For example, given ...
42 views

### Maximise a function over real and complex parameters [closed]

I have the function f[b_x_] := Exp[-I b] Sin[I x], where $x$ is real and $b$ is complex. I want to maximise the function $f$ over $x$ and $b$, but it is ...
93 views

### Sorting polynomials based on their y value and finding their intersection

I've got the following list of polynomials, ...
39 views

### Nested maximum function not working

I am trying to maximize a function which is itself a maximized function. For example, see the below. Can someone explain this error: ...
47 views

### How to plot and print the maximum value in a ContourListPlot[]

I have managed to manipulate functions from a list of data points. The data table is large and thus is in this link. ...
303 views

### Problem with Solve (Lagrange multiplier)

I'm trying to solve a simple maximization problem, which I can easily solve by hand using the Lagrangian method. I want to maximize UH subject to ...
94 views

### Maximize with matrices

How do I use maximise with an arbitrary sized symbolic matrix? e.g for a small matrix it is fine to write it out, ...
190 views

### Local Max/Min from the list with fluctuation

I am trying to find the local minimum of the list of data with some noise. Here is how the data looks like below image, and I want to extract the three points. From an question by giacomo (link), I ...
50 views

### How to find the distances between two adjacent maxima in a solution from NDSolve

I try to find a general approach to plot the time evolution of horizontal distances from maximum to maximum in a solution of PDE. The solution u[x,t] normally have ...
57 views

### Maximization of a a PiecewiseExpand funcion

I have the following 3 piecewise functions and their upper envelope. ...
68 views

### ArgMin and NArgMin gives different result

Im doing the same problem with ArgMin and NArgMin, however NArgMin messes up the order of the solution. Given function: ...
98 views

### Find the max value of $f(x,y)= 9\ln(x^2+2y^2+1)-x^2-y^2$

I need to find the max value of: f[x_, y_] := 9 Log[x^2+2y^2+1] - x^2 - y^2 which has a center at the origin and radius 4. Maximize and NMaximize are not working ...
96 views

### Plot maximum value of a function of three variables

Given a function f[\[Theta]_, \[Phi]_, t_] given by ...
83 views

### Add elements to the maximum values of a list

Hi i have a list of n elements and i want to know the 30 maxim values of list without changing his order. And suppose that i have a second list with n elements and i want to add this elements to the ...
896 views

### Finding maximum value with position from Table of values

I have this table of values, how do I find the maximum value? i.e. find $z_{max}(x,y)$ ...
60 views

### Why can MaxValue simply not get the exact result I want? [closed]

8/7 (9 + 4 Sqrt[2]) That's the result I want. How can I get x and y at the same time with respect to max? How can I add the constraint that both x and y belong to ...
75 views

### How do I find all maxima of this function?

I have to find all the maxima of the function fun[t_?NumberQ] := NIntegrate[1/y^(11/3) Cos[y t], {y, 1, 2 }] To find the poit with zero first derivative I have ...
38 views

### Linear Programming using Maximize

I am trying to solve a more complicated version of the following LP problem: I have some constraint amounts a,b,c and two variables made of those amounts. I would like to find the best way to ...
266 views

### How to extract maximum value coordinates from ParametricPlot of function

I have a ParametricPlot ParametricPlot[{Sin[x], 2 Cos[x]}, {x, 0, 2 π}] How to know the maximum value on Y-axix and X-axis?
194 views

### Find maximum of 'y' coordinates from a list of duplicate 'x' coordinates

I have a multidimensional-variable list, suppose for example {{x1,y1},{x2,y2}..}. I have duplicate values for the 'x' coordinates and I need to find for the duplicate 'x' elements the corresponding ...
47 views

### Highlight largest value in each column of Table // TableForm

I am exploring colossally abundant numbers; in particular the set of specific 'critical epsilon values'. I table the function DivisorSigma[1, n]/n^(1 + \[Epsilon]) ...
145 views

### How to do Maximum Likelihood Estimation with this Multivariate Normal?

I'm trying to perform Maximum Likelihood Estimation, where the data follows a Multivariate Normal. The problem, I think, is that in the density, we have the inverse of the covariance matrix. This ...
64 views

### Finding maximum in the boundary limits using mathematica [closed]

Im trying to find the maximum of the function on the boundary: f[x_, y_] := 10 Log[x^2 + 2 y^2 + 1] - x^2 - y^2 That is within the boundary: ...
73 views

### Has Mathematica derived the maximum here?

Suppose I define a function as f[l_, a_, p_] := (l^(1 - 2*p))/(l + a) Then I solve the expression for the first derivative equalling to zero for ...
68 views

### How to show constraints of a maximization on a plot?

I have this function F: ...
1k views

### How to find the local maximum of a list [duplicate]

I have imported a wav sound that a = Import["sound.wav"] and we know that soundStrength = a[[1]][[1]] is a list of sound ...
37 views

### Maximize violate constraint of non approximated function

here is my code Maximize[{-(10/17) - x + (20 (1 + x))/(17 (2 + x)), 0 <= x <= 1.5}, x] The result I got: {6.66134*10^-16, {x -> -9.79755*10^-16}} As you ...
73 views

### problem with maximize function and envelope function

I Have the problem with the maximize of this problem: ...
101 views

### Given a function $f(t,s)$, compute $\max_{t_2\in [0,1]}\min_{t_1\in [0,1]} |f(t_1,s_1)-f(t_2,s_2)|$

Given a continuous and bounded function $f(t,s)$, $t,s\in[0,1]$, I would like to compute $$\max_{t_2\in [0,1]}\min_{t_1\in [0,1]} |f(t_1,s_1)-f(t_2,s_2)|,$$ for each numeric values of $s_1$ and $s_2$....
49 views

### Define x as a multiple of a number as a constraint in the Maximize function

I am trying to optimize a linearly constrained Production Function. I have three inputs and want them all to be multiples of 150. I can make all the inputs to belong to the Integer Domain but is there ...
68 views

### Maximizing with an assumption

I want to maximize an expression assuming p is between zero and one. What should I do? ...